package com.yzly.demo.utils.enumUtil;

/**
 * 火车票状态
 */
public enum TrainTicketState {
    NOTISSUE("N", "未出票"),
    ISSUED("F", "已出票"),
    BACKING("C", "退票中"),
    BACKED("T", "已退票"),
    BACKFAIL("O", "退票失败"),
    CHANGING("Y", "改签中"),
    CHANGED("G", "已改签");

    private String code;
    private String value;

    TrainTicketState(String code, String value) {
        this.code = code;
        this.value = value;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }
}
